package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: gassafety
 * @description: 创建客户, 绑定设备
 * @author: Mr.Wang
 * @create: 2022-09-19 13:53
 **/

@Data
public class ConsumerCreateRequest {

    @ApiModelProperty(value = "用户id")
    private String memberId;

    @ApiModelProperty(value = "户号")
    private String subsCode;

    @ApiModelProperty(value = "用户手机号")
    private String phone;


    @ApiModelProperty(value = "imei")
    @NotEmpty(message = "imei不能为空")
    private String imei;


    @ApiModelProperty(value = "工单编号")
    @NotEmpty(message = "工单编号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "订单编号")
    private String outOrderCode;

    @ApiModelProperty(value = "经度")
    private Double positionLon;

    @ApiModelProperty(value = "纬度")
    private Double positionLat;

    @ApiModelProperty(value = "客户姓名")
    private String consumerName;

    @ApiModelProperty(value = "客户地址")
    private String consumerAddress;

}
